-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bipod now gives you an option to switch to full auto when deploying #5638
Conversation
…hing bipod, fix some minor logic inconsistencies
mby you could rename G to gun and A to action to get rid of single letter vars when you are working on that file, would be nice |
…ightly lightly tested, seems to work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sprite good 🍋
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nitpick, but it seems to only remember the old state early on or when deployed and then gets stuck remembering that state.
- Be on automatic fire
- Enable Full Auto Switch
- Change to burst fire
- Deploy (changes to automatic)
- Retract (returns to burst correctly)
- Change to automatic fire
- Deploy
- Retract (incorrectly returns to burst)
About the pull request
Attaching the bipod to weapons with full auto capability or firearms marked with the GUN_SUPPORT_PLATFORM flag will give the user a button toggle to immediately switch to full auto when deploying the bipod.
If the full auto switch is turned on, the weapon will simply switch to full auto when the bipod is deployed. If you undeploy it, it will switch back to whatever previous firemode the weapon was in, e.g:
In cases where you switch the weapon's firemode when it's already switched to full auto, it won't revert back to whatever firemode was set before it was deployed, e.g:
Also renames a couple of one letter variables.
Explain why it's good for the game
Quality of life. Less messing around with firemode selectors which is a terrible headache, especially for the HPR, which you usually want to have on full auto 90% of the time. Those who want to stick with the old way don't have to change anything, as the full auto switch is entirely optional.
Testing Photographs and Procedure
Screenshots & Videos
bipod.test.mp4
Changelog
🆑
qol: Attaching the bipod to weapons that have full auto (HPR included) will give you a button toggle for immediately switching to full auto when deploying the bipod.
/:cl: